#!/bin/bash

BASEDIR=`pwd`

docker run --name redis-server \
	-p 6379:6379 \
        -v /Users/v/Documents/todocker/redis-data:/data \
	-v $BASEDIR/redis.conf:/etc/redis/redis.conf \
	-v $BASEDIR/users.acl:/etc/redis/users.acl \
	--network emqx \
	library/redis:6.2.2 redis-server /etc/redis/redis.conf --appendonly yes \

